<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>登录</title>
<link rel="stylesheet" th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap.css}" />
<script type="text/javascript" th:src="@{/webjars/jquery/3.3.1-1/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/webjars/bootstrap/3.3.7/js/bootstrap.js}"></script>
<style type="text/css">
	
</style>
</head>
<body>
<div id="nav">
	<h1 th:text="#{login.tip}"></h1>
	<div class="row" style="width:95%;margin: 0 auto;">
	<div class="col-md-12" style="margin-top: 30px;">
		<form th:action="@{/login}" method="post">
			<label th:text="#{login.username}"></label>
			<input type="text" name="username" value="" /><br />
			<label th:text="#{login.password}"></label>
			<input type="text" name="password" value="" /><br />
			<input type="submit" th:value="#{login.btn}" /><br />

		</form>
	</div>
	</div>
	<a th:href="@{/login(language='zh_CN')}">中文</a>
	<a th:href="@{/login(language='en_US')}">English</a>
</div>

</body>
</html>